from jsmodel_tristable_switch_2_input import TristableSwitch
from pylab import plot
from pylab import show
from pylab import legend
from pylab import figure
from pylab import semilogy


t = 20000
p1 = 200
p2 = 200
p3 = 200
p4 = 200
p5 = 200
p6 = 200
p7 = 200
#pcs = [3000]
#pcs = [3000, 15000]
pcs = [3000]

pchl = 7
#rms = [9000,15000]
#rms = [6000, 15000]
#rms  = [3000]
rms = []
rmhl = 7
switch = TristableSwitch(True, t, p1, p2, p3, p4, p5, p6, p7, pcs, pchl, rms, rmhl)
ret = switch.run()
show()